package org.itboys.mdl.util;

import java.util.Random;

/**
 * Created by hasee on 2017/5/21.
 */
public class RandomUtil {
    public static String generateRandomNumber(int index){
        StringBuilder sb = new StringBuilder();
        for(int i=0;i<index;i++){
            Random random1 = new Random();
            sb.append(Math.abs(random1.nextInt(10)));
        }
        System.out.println(sb);
        return sb.toString();
    }
}
